<?php
// Define path to application directory
defined('APPLICATION_PATH')
    || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application'));

	
// Define application environment
defined('APPLICATION_ENV')
    || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));

// Define table prefix
defined('TABLE_PREFIX')
    || define('TABLE_PREFIX', '');

// Define site url
defined('SITE_URL')
    || define('SITE_URL', 'http://localhost/ban-ve-online');

// Define site template
defined('TEMPLATE_USED')
    || define('TEMPLATE_USED', 'games_orange');

//define upload path
defined('UPLOAD_PATH')
    || define('UPLOAD_PATH', realpath(dirname(__FILE__) . '/public/uploads'));

// Define max comment length
defined('MAX_COMMENT_LENGTH')
    || define('MAX_COMMENT_LENGTH', 140);

//define blocks path
define('BLOCK_PATH',APPLICATION_PATH . '/blocks');
define('CONFIG_PATH',APPLICATION_PATH . '/configs');
define('CACHE_PATH',APPLICATION_PATH . '/caches');